package com.treeman.api.security.exception;

import com.treeman.api.ApiRequestError.ApiError;

public class ApiSecurityException extends Exception {

	private static final long serialVersionUID = 2712231810235330891L;

	private ApiError apiError;

	public ApiSecurityException(ApiError error, String message) {
		super(message);
		this.apiError = error;
	}

	public ApiError getApiError() {
		return apiError;
	}
}
